package com.qf.entity;

import java.io.Serializable;

/**
 * @author 徐老板
 * @date 2020/3/24   23:22
 */
public class Student implements Serializable {
    private int sid;
    private String sname1;
    private String sex;
    private String password;
    private int gid;

    public Student() {
    }

    public Student(int sid, String sname1, String sex, String password, int gid) {
        this.sid = sid;
        this.sname1 = sname1;
        this.sex = sex;
        this.password = password;
        this.gid = gid;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", sname1='" + sname1 + '\'' +
                ", sex='" + sex + '\'' +
                ", password='" + password + '\'' +
                ", gid=" + gid +
                '}';
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname1() {
        return sname1;
    }

    public void setSname1(String sname1) {
        this.sname1 = sname1;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }
}
